package org.hcf.springdemo.consumerServerSpringBootDemo.controller;

import org.hcf.springdemo.consumerServerSpringBootDemo.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author changfu.he
 * @date 2021/5/27
 */
@RestController
public class UserServiceController {
    @Autowired
    private IUserService userService;

    @GetMapping("/buyTicket")
    public void buyTicket(){
        userService.buyTicket();
        return;
    }
}
